import firebase from "firebase";
//import firestore from "firebase/firestore"
const firebaseConfig = {
    apiKey: "AIzaSyAgz1EwPM1u_5j8UL-oHG5I0aWjcN1HLjU",
    authDomain: "ninja-chat-eb143.firebaseapp.com",
    databaseURL: "https://ninja-chat-eb143.firebaseio.com",
    projectId: "ninja-chat-eb143",
    storageBucket: "ninja-chat-eb143.appspot.com",
    messagingSenderId: "1039364855291",
    appId: "1:1039364855291:web:fd3d6a5628fbdd14f3675e"
  };
  // Initialize Firebase
const firebaseApp = firebase.initializeApp(firebaseConfig);

//firebase.analytics();

//firebaseApp.firestore().settings({timestampsInSnapshots:true})

export default firebaseApp.firestore()